package com.cxz.study.ddd_project.infrastructure.service.base.impl;

import com.cxz.study.ddd_project.infrastructure.model.dto.base.WhSerialNoRecordDTO;
import com.cxz.study.ddd_project.infrastructure.model.entity.base.WhSerialNoRecordDO;
import com.cxz.study.ddd_project.infrastructure.repository.thirdparty.client.base.WhSerialNoRecordTPService;
import com.cxz.study.ddd_project.infrastructure.service.base.WhSerialNoRecordService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: WhSerialNoRecordServiceImpl
 * @author: ocxz1
 * @date: 2024/12/30 下午5:44
 * @Version: 1.0
 * @description: 2082-ddd-project
 */
@Service
public class WhSerialNoRecordServiceImpl implements WhSerialNoRecordService {

    @Resource
    private WhSerialNoRecordTPService whSerialNoRecordTPService;

    /**
     * 列表查询
     *
     * @param dto 查询条件，DTO
     * @return 返回查询的列表数据
     */
    @Override
    public List<WhSerialNoRecordDO> findList(WhSerialNoRecordDTO dto) {
        return whSerialNoRecordTPService.findList(dto);
    }
}
